huge js refactor. selecting projects within multiple objects now has intended effect