Fixed select collapse javascript masking issues