add contentType to ajax calls