trying to use PalaceClient.js