Fixed issue with hash algorithm using Browserify

Fixes #14.