No need to check if(options) in ajaxResourcePage.