work with browserify

this pull request makes it work with browserify, and runs test via testling.
main change was using bops, and moving escodegen stuff out into it's own file,
and not loading it in the browser.