added example html-js client