A measure that would let New Jersey voters to post ballot selfies on social media sites has cleared a legislative hurdle.