Small fix to hash.js