Dyamically handle non-chrome browsers