Fix autoComplete in IE8, change option name "class" to "klass"

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](http://stackoverflow.com/questions/26255/reserved-keywords-in-javascript)