fixed detection of browser short code