Stupid frickin me... forgot to close a brace on alerts.js.