Small bug fixes in chosen.js