Console fix for IE. window.console is not defined in IE until you open developer tools, so I made a stub in frontend.