better comments in JS code