js changes loyalty loading