Fixed HTML issues

moved body and ul tags to more appropriate places.