Remove console.log preventing validator working on IE