Added polyfils for IE console object.