Code refactor - match conventions in UI JS.
Added DepletedIn and Treatments to Assay Details; redmine 776