Pure javascript implementation of scrypt