Last update for js, sleep time