A pure javascript version of litecoin miner