adding logger.js fix