updated html and corrected js