commit with js