js hide console.log, refs #7684