Update the isMobile() function (because fuck standards)