New Jersey lawmakers pass Internet gambling legislation