Using log4javascript for logging