Working on data storage in the javascript and html files