The javascript simple random password function.