Pass only userAgent to mode function, not Mobify