added client.js and index.html