ajax for completed test and meteochart