allow alert in JS REPL; it was still accessible via window.alert