added loading.gif and json file