adding spark.js in