Firefox does not support shared workers, so we need to have both alternatives