Added onclick and onhover node event dependency injection