package: move hash to hash.js
0.4.0