updated stock javascript functionality and updated income statement functionality