Generates HTML snippets to directly interact with a Spark Core via JS