set jquery to support cors