generate non repeating random numbers javascript