Update indexeddb_todo_list.js

for the new indexDB api, the onsuccess and oncomplete event. detail at the https://developer.mozilla.org/en-US/docs/Web/API/IDBOpenDBRequest