Cleanup temporary arrays in PRNG.

While JavaScript doesn't guarantee that the memory will actually be
cleaned when we zero-out arrays, we zero them anyway and hope that the
current implementations of JS VMs will do what we ask, as we have no
choice.

Thanks to @RainaBatwing for idea.
Closes #62, updates #60.
Merge branch 'cleanup'