style-select.js: fix on firefox