added button for delete local storage and added function to js file. delete works now