How JavaScript Works Behind the Scenes – A Beginner’s Guide