migrate to browserify

- add tests
add travis config and badge