New Data Event Test - html side

Added an event for html side for a 'newdata' event