Updated comments in js