Java 8 Nashorn script engine: Google Dart vs pure JavaScript