adding data attribute for ajax url