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