Update log.js

edit by philoboy