localDate: Use jQuery data instead of attributes

If we're using jQuery, might as well stick with jQuery everywhere.