Fix "TypeError: redeclaration of variable params" after bug 1001090

This fixes the TypeError seen after the landing of:
https://bugzilla.mozilla.org/show_bug.cgi?id=1001090
Merge pull request #6 from edmorley/let-redeclaration

Fix "TypeError: redeclaration of variable params" after bug 1001090