querying and charting stock prices with nodejs