md5 snippet js-ified