start using browserify/move things to require module style