Fix broken link to alerts section of JS page.

Link was pointing to #js-alerts, but that section of the page does not exist. Changed to #alerts instead.
Merge pull request #10312 from jleight/master

Fix broken link to alerts section of JS page.