removed unused variable, renamed error data.

correct. This XHR uses that `data` to notify the backend of its shiny new URL only, so the XHR result is not related to the app's data at all, only to the updating-the-URL action.