researchTree plugged into game-state; improved dynamic js serving.