Fixing MobileDetect