Added browserify support. Fixes #2.