Put JS code into a single file.
moar cleanup
Merge remote-tracking branch 'origin' into singlefile