removed the sleep test, javascript its the way aparentlly