Look's like its a problem with. console.log(). IE has no console object when Developer tools is not open.
stackoverflow.com