Update global.js

Swap out deprecated .live() (jQuery 1.7) for .on()