Move browser detection tags to html