small framework for TypeScript HTML5 games