HTML 5 game platform for browser and mobile