A javaScript framework of 2D game base html5