added ajax view type for error page