working just need definition added for 'criteria line'

In other words:
```
var constituentId = tsViz.getComponentsOfId().constituent;
if(consituentId === 'nitrogen'){
.
.
.
```

You might also consider a map of programmatic constituent identifiers to criteria values:
```
var constituentToCriteria = {
   nitrogen: nar.siteHelpInfo.tn_criteria,
   phosphorus: nar.siteHelpInfo.tp_criteria
};
var constituentId = tsViz.getComponentsOfId().constituent;
var criteriaLineValue = constituentToCriteria[consituentId] || 'my great default line value';

```