Add missing console support to Internet Explorer.

Internet Explorer doesn't support the console functions unless it's running in developer mode. As a result it throws it's toys out the pram when a call is made to one off the console functions.

Add the console functions if they are missing.