deleted ajax.js and added to global.js