Html5 local storage and data retention in the search box