Display partial for json requests
Cleanup