move the md5 hash in text.js to hash.js