Added loading animation during dashboard ajax call