added javascripts and styling, edited index html for classes