Loading text files with requires.js fails in IE

'Access is denied` is thrown on IE10 when using the `text plugin` from the `file:// protocol` and hence making calls to another `file:// protocol`

An alternative could be, if the `/file\:/i.test(location.protocol)` to use the `ActiveXObject` which works instead of `XMLHttpRequest`.