Fixing issues with addon not working on Firefox 9