World demo: added missing array.js dependency
ObjectFactory: added
BodyGenerator demo: added ObjectFactory to the dependencies and made use of them
Merge pull request #30 from gheja/branch3