fix typo in log.js