modified some code according to guidelines. html modified to remove an unused class.