Construct 2 is an amazing drag-and-drop style game editor that compiles games to HTML5 and JavaScript, which can then be hosted on
Scirra's Arcade or on
Kongregate. The free version that has 95% of the capabilities of the paid version. JavaScript plugins are easy to write. The user community forums are active and helpful. Try it out!