Updated the server for the JSAPI