creates home page with javascript and css