adding log.js