Added loader for ajax requests