Small fixes to LoggerFactory.js