Add AJAX support for view loading