Major improvement by making java native method invocation errors appear as ScriptExceptions with relevant line number information. Note that changes to the Nashorn implementation may break the ability to find the javascript line number corresponding to an invocation (specifically, both OpenJDK and Oracle name their compiled javascript virtual file "<eval>", but are not required to do so by the Nashorn spec.)