This code is removed from the example code in the `serialize` method docs. Removing this ajax boilerplate code makes it easier to comprehend the main point of this example (the usage of `this.serialize`). 

I made this change because I wrote these docs originally and when reviewing the `RESTAdapter` page it took me a minute to figure out what was going on here.