Fix syntax error caused by AJAX request parsing response as JSON