fixed firefox addon loading by fixing window object query