Refactored getDataFromStorage() to use jQuery to write data from local storage to the browser.