Description
When there are massive tasks, such as sc.parallelize(1 to 100000, 10000).count(), the generated JS codes have a lot of string concatenations in the stage page, nearly 40 string concatenations for one task.
We can generate the whole string for a task instead of execution string concatenations in the browser.