Updated select.js

Updated Select.js for better performance