Add support for log4js.