checking CSS is class based
removing some additional unnecessary markup