Fixed issues with IE9 throwing error because console.log isn't defined.