Update pages.alerts.md

There exists an error in the js code, which I think is a spelling mistake. 
I just fixed it.

And thanks very much for the fantastic cookbook.