Added event handler to handle events across different browser

Signed-off-by: Deepak Jha <deepak.jha@turn.com>