Added logger.js for testing