integrated with client code in simple_index.html start page