rename option "class" to "klass" so autoComplete works in IE8. "class" is reserved word in javascript, see http://stackoverflow.com/questions/26255/reserved-keywords-in-javascript