Added .ajaxSetup to work with ajax POST requests