CDAP-735: Update visualization of Spark job metrics

this will fire every time controller.model.metricsUpdated changes, you should add an if to check that the controller.model.metricsUpdated value is true before doing this processing.