Prevent undefined error if the <a> does not have an href attribute.
Merge pull request #126 from Respondly/master

Prevent undefined error if the <a> does not have an href attribute.