Framework for creating JS-Games using HTML5 Canvas