Fixed client.js and index.html for uploading origin files