Fix jsdoc

(cherry picked from commit e90c95b50b4e57c94c8606dfae2b4156a36e46bf)
Fixing width detection with hidden selects