client.js is now loaded only once