Complex Web CRUD page in JS with local storage