Ensuring console log doesn't cause issues in IE