set ui for page view via ajax