reorg of javascript; added relationships app