add some comments in js