JS DB commit