Implements a simple json example for pjax app.