-- Added spinner while the data is loaded form ajax call