Move log.js under requirejs control