JOSM: remote control batch

Hi.

I’m trying to use remote control for GET /load_object&addtags=… from my html page.

When I call it once, it works good, but if I try to call more than once, it adds tags into first load object only. As result, all my tags added to first object that I loaded. If I set some delay, it works better if new object loaded in time less than delay.

Looks like it happen because remote control returns result before loads object and apply tags. Is it way for apply tag to specified object for more than one request in batch ?

WBR, Alex.