A group of technology, publishing and law firms have signed leases totaling more than 40,000 square feet at a Berkeley Heights office building, according to brokers with JLL.