fixed bug in footnotes script to account for links without href
attributes