Adding accept type header to ajax calls