fix the button so that it shows HTML, not JSON

make sure the AJAX is JSON format so Rails
knows to go back to the HTML page (not the
JSON response - the most recent HTTP request)