Code required to run the game on internet browsers.