Simple framework for making games and toys using Javascript and HTML5 canvas