Moving select.js to module