Replace href attribute with data-events