Pedestrians in one NJ town to be protected by first-in-the-nation technology