Change time-to-next to a proper data attribute

Change over the time-to-next attribute to be a proper data attribute. Addresses #35.