Removed references to console

Removing the references to the console objects as they bork IE