Fix error with IE8 and earlier

IE8 and earlier don't support window.addEventListener

Only use this method if it is supported.  If not then don't try to add
the eventListener for orientationchange.
Merge pull request #3 from mark-101/oldIEpatch

Fix error with IE8 and earlier