add a slash before ajax url