Revert back to AJAX tutorial code