HTML5 has overtaken much of the Flash dominance on the web and will continue to do so as the progress continues to support more features. HTML5 has garnered a following already in various domains especially in the area of game development for 2D and 3D. Integrating HTML5 and JavaScript offers much flexibility for developing games with rich user and customizable interactions. There are also various HTML5 aspects that can be manipulated using JavaScript directly or through using third-party libraries. The following link provides a measured comparison of various HTML5 game engines of today and their various suitability contexts.
html5 game engine
html5 game engine