Fix Ajax helper logging