Updated HTML and js interface.