cross-browser, console.log, IE fixed