A 'bit' of cleanup.

Switched to browserify and modularized most of the css and js code.