Add dataType to all $.ajax calls for consistency

Fixes https://groups.google.com/forum/#!topic/reactjs/WWA3ZqU6y4w.