Update select.js

AP-134 Ui-select should hide when clicked again  Changes the template