polling-xhr: fix a comment and remove unneeded `document` reference
Merge pull request #285 from lpinca/fix/comment

polling-xhr: fix a comment and remove unneeded `document` reference