merge changes https://github.com/brianreavis/selectize.js/pull/278 into master