Web interface code for prototype.