Framework for building HTML5 Canvas Games and Applications