Jsep candidate handling.

Why do you need to make a copy? Because it's a const? That seems lame.