New Jersey lawmakers advance measures to tighten gun laws