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
(cherry-picked from 9fe3b55)