clean up FF addon

This doesn't actually fix anything other than preventing a few variables from leaking into the global scope.