move ajaxSetup outside having a token.