remove unused parts of spark.html