Remove the console writes from scripts for old IE compatability