Avoid redeclaring variables

Fixes #218. Firefox Nighlty (35) is strict about this. PB can now run on Nightly.
True, but there are other places in this file where `var` is used when redefining a variable passed as an argument. I assumed it was a stylistic choice.