An AMD/CommonJS/ScriptTag wrapper around Paul Johnston's JavaScript hashing code