Update utils.js

Switch to crypto-browserify for browser compatitiblity