Read data-title-sha each time

Reading data-attributes with $(...).data(...) does not reflect
changes in the document. Use $(...).attr('data-...') for the
current state of the data attribute.