A joint venture has landed a $43 million loan to refinance a 288-unit apartment complex in Plainsboro, following a series of upgrades aimed at creating value at the property.