add exceptions for the SpiderMonkey REPL