Pinking Shears / Whitespace
Whitespace / Pinking Shears
Add globals for JSHint friendliness
Pull var declarations out of for loop

When running multiple in a function, it has the var being redeclared,
better to list at the top.
Event isn't used, don't name it as an arg.
parseInt needs a radix (base) param.
These vars are commented out below.

So let’s comment them out here.
Missed a comma.