.done method added to the get stock page to handle stock data fecthing