Improvements to ajaxpages