The listener is added only if the browser supports it
Merge pull request #10 from Tea56/IE9AddListener

The listener is added only if the browser supports it