Added logging via log4javascript