A basic framework for making games in HTML5/JS