implement ajax view loading