ajax call for completing challenges