Unbreak stuff. Oops. Never code after midnight ;)
Split up files, then added browserify support and some scaffolding with
npm :D