Adds Javascript like SetTimeout and SetInteval functionalitty to backend