fixed #6
Merge pull request #12 from morinpic/master_browserify_bugfix

fixed #6