Fixed JS error from AJAX data option.