Added a simple JavaScript console.log shim to prevent errors in IE