Improve browserify support

closes #13
closes #14