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]