Update global.js

Added functionality to disable Ajax navigation