update js comments