committing before canning nodejs