javascript random numbers and string generation library