Clean up view for Ajax