Replace $.ajax().success with $.ajax().done.

That was [deprecated in jQuery 1.8](http://bugs.jquery.com/ticket/9399)