checkXHR was failing on IE8 with socket.io because of XDomainRequest not implementing addEventListener
Offline.options can now be defined before including offline.js
setTimeout(init, 0) trick is not working using AMD so it will be particulary usefull in this case
Merge branch 'fix-check-xdomainrequest'

Conflicts:
	offline.min.js