move over to browserify and nodejs