Notes: $p$ and $q$ must not be equal. The message number must be strictly less than $(n-1)$.
Using large primes will result in large values for the exponent $d$. Values of $d > 10^6$ are going to take forever to decrypt, but if you wait long enough it should eventually complete.
Using large primes won't work on all browsers because of the larger-than-usual memory allocation requirement. Chrome works best; Chrome doesn't care how much memory you ask for.
Here are some primes you can try for testing.