Removed Console command lines from JS that causes crashed on IE