added loading js spinner