Alert degrades gracefully under node.js