fix js commentCount bug