New Jersey lawmakers on Thursday passed legislation that the solar industry said will stabilise the solar market and maintain more than 7,100 solar jobs in the state.