Fixed rest-server client.js (and removed Express warning)

As the subject implies: the rest-server client.js showed an error.