Handle incorrect hash/search values in IE6.

In IE6, the hash/search value will not be correct when the hash
fragment contains '?'.
Add comment, remove anchors.
Update JavaScript toJSON API documentation URL

The previous link to MDN had rotted, this seems to be the closest correct URL.
Merge pull request #3258 from NotBobTheBuilder/master

Update JavaScript toJSON API documentation URL
Allow MDN to select an appropriate localization
Merge pull request #3259 from megawac/patch-1

Allow MDN to select an appropriate localization [ci-skip]
Merge pull request #3152 from braddunbar/ie6

Handle incorrect hash/search values in IE6.