Fixed intellisense events to be crossbrowser, issue #9