fixed ie8 bugs
adding class to list item