fix select.js clousre error