Update IE9.js

Separated the appVersion regex check at the beginning to avoid errors if the browser isn't IE.