Adding fix to SpookyJS to get latest version of Casper to work. Needed to update the require function to use the new patchRequire first.