Make pages#show respond to JS and JSON requests.