Browser detection must be in initial page