rewritten the html5 and ejecta template to use the new CG.Game class with basic mouse and touch handling.
mouse, touch/motion, keyboard is a todo for the future
removed comments