Small fixups to client.js
Start converting display server code to promises