Use javascript userAgent check browser