Fix URL in comment posting JavaScript

window.location.hostname doesn't include the port. window.location.host
does.

See here: http://bl.ocks.org/3070589
Merge pull request #1708 from jamesstout/fixCommentPostingJS

Fix URL in comment posting JavaScript