db for js. def cmd