Fixed use of Web Storage (apparently it needs to be JSON strings)