Fix log4javascript loading flow.