minor fix to ajax for challenges