Remove use of Components.interfaces in FF.

This was only used to provide a shim for Firefox. Components is
deprecated as described in:
https://developer.mozilla.org/en-US/docs/Components_object
Now we simply iterate over appropriate properties on the window.