implemented local storage for persisting user defined stock lists between page loads.