typo in log.js