fixes IE's console.log not existing problem