Tie the web service to the UI in index.html