ajax call for getStocks works in app
mongo queries into json