updated html and js