[jaring] lib.Jaring: check if function store.rejectChanges is undefined.