consolidate js libraries