classList replaced by className to support IEold