Create a session storage db when HTML input field loses focus