Simple javascript based todo app with indexDB database