Move configuration variables to new config.js.
Move utility functions to new util.js.
Add missing lib async.js.
Move JS libs to new js/lib/ directory.
Remove more unneeded files.