redo window.btoa, window.atob, and set correct DB name