Make the accept_terms file a proper AJAX script and re-format it.