for $.rand()