Bug Fix: prevents IE from throwing an error when the console exists but isn't open