Remove dupliate declaration of variables
Remove dupliate declaration of variables

JavaScript doesn't have block scope and removing multiple declarations
clarifies that the variable is accessible through the function.

LyonsLab/jdot,LyonsLab/jdot