IE8 doenst support console.log writing. It uses just log writing. To fix this issue, simply add the following to your page scripts.

if (typeof console === "undefined") {
	window.console = {
		log: function () {}
	};
};