Update utils.js

make wetag use same hashing algorithm as etag