Update alert.js

Fixes problem with 
[$sce:unsafe] Attempting to use an unsafe value in a safe context.