client.js modified for applicationspring-wildflower-2740