Remove unnecessary check for JSException (since JSException inherits from InterpreterException).