replace original headTitle helper plugin for copy, disable auto escape, and restore original