Formatting of the isMobileBrowser function