fixed console.log for IE for TOC