Printing functionality

Also, the complete callback is being deprecated so it is better to use `done`, `fail`, or `always`.

[jquery ajax docs](http://api.jquery.com/jquery.ajax/)