move localStorage to wb.db