Update global.js

Update browsers detection.