updated server and client js
updated index.html; modified position of input box