Added temp JS variable to handle JSON of materials for processing on the page.  Might do this in code still, need to think about it.