add log4js support