Old IE compatibility changes.

Adding compatibility for browsers that do not support classList.