Switch to using HEAD requests in xhr test.

Conflicts:
	offline.min.js