Bug 877441: Add head.js in psm xpcshell tests to avoid copy-paste. r=bsmith