minor adjustments for better portability with browserify
Merge pull request #41 from whiteout-io/browserify

minor adjustments for better portability with browserify