Bug 1032068 - Maintain id pool of activity chaining instances to keep on...

...ly one chaining
javascript :)