Check user IP address correctly

Typo in variable name when checking for existing vote by user IP address
for anonymous visitors. Should fix #14. props @didahly - thanks!
Don't overwrite _href with empty value

Just a sanity check to make sure user is trying to update the _href
value of a link before overwriting the existing value.
Whitespace only; auto-formatting