fixed small syntax error in ajax call