Bug 896756 - Fix strict warnings in xpcshell's head.js. r=jmaher, a=bajaj