There is no way to generate a truly random number on a computer without using high-level science. So javascript can't be random either.