Added functionality to copy href to data-href if data-href doesn't exist