updated html and integrated base JS with page