Update global.js

Updated Google Analytics event tracking patch.