changes to support new firefox variant