telehash implemented in pure javascript