luci-base: ui.js: fix input value reading for select widgets