little game framework with javascript and canvas