Added progress bar for ajax calls