What is the event loop in Javascript