A sample code for MelonJS engine