Pass $is_ajax to register view