removed explicit console.log calls (undefined on IE8)