Fix for ie console not existing