RandNum: Updated the regexp on the JS as well.