JS DOCs: minor changes, commitData()