cleanup, added log.js