Fixed indexOf() incompatibility in IE8

Fixed indexOf() incompatibility in IE8. Only /dist/js/standalone/selectize.js has been converted.