Explain Callback Function In Javascript And Html5 Games