Modify url for ajax.