That's a good plan. Could you write me a sample web UI in JavaScript?