corrected id attributes to class in html
minor style cleanup