var a = {
  class:'item'
}
a.class 

may cause a error in ie8-, error code 1010

a['class']           
will be fine.