created new class for EventHandler.js Generator