Add dataType to all $.ajax calls for consistency

Fixes https://groups.google.com/forum/#!topic/reactjs/WWA3ZqU6y4w.
Merge pull request #884 from spicyj/tut-datatype

Add dataType to all $.ajax calls for consistency