Added addJSEvent documentation