init commit in js ui