replace </head> matched by regex
new Mocha needs suiteURL function from original reporter