CDAP-652: updated Spark job UI to display the collected metrics in blocks

It is  lightweight form of string.js