add server connection on click
clean up move.js