Adopted the changes from PR #464 with nested collections to master branch
Merge pull request #468 from peterrehm/master

Collections inside Collections - JS problem