Moved client code to server and changed server.js accordingly to load index.html