move global ajax header config to module constant