Use jQuery to replace data-ids rather than regex.