Add ajax-based pages support