Optimized $.ajaxSetup code and oddities