Reformatted html by adding a class