A Game Framework for use with html 5