removed all the console.log to test on IE