End curly brace and semi-colon should be on the next line and join with the done method, i.e.
```
  authenticity_token: authenticity
}).done(function(data) {
```