Fun with Nashorn (JDK8), Spark-java and AngularJS