Added loading animatio for ajax.