removed console.log (may conflict with IE)