Fixup: left a window.alert where it can't be called