Update select.js

Only add unknown element to select when the size is undefined or 1.