add cross browser functionality to jsnotification