workable version of SparkJSDist