User:Qwerfjkl/remove comments

To remove commented lines: on any .js page, turn off the code editor (by clicking the "<>" button). Use the 'find and replace' tool, and find: ^\s*\/\/[^\r\n]+[\r\n]+. Leave the replace section blank. Tick 'Use Regular expressions', then click 'Replace all'.