Use nashorn instead of rhino, so this will now work on Java 8, but not on Java 7.