Javascript html5 variant of sleep (to start with god knows where it ends up)