client.js: get IDs of changed items
work on client.js