Proper error box in the HTML, replaces focus-stealing alert() calls