javascript: removeIDs should remove nested identities
Merge pull request #1173 from raichoo/javascript

javascript: removeIDs should remove nested identities