fixed minor bugs in both Client.js and Server.js as well as some css tweaks