How JavaScript Works Behind the Scenes