Simulating a "sleep()" function in javascript | Heykuki News