fixing ie8 compatibility issue with reserved keyword: class