Start using browserify

Got rid of a lot of files and makes the code somewhat cleaner