Framework for Web Games