Update testHelloWorld.js

fixing the objects to append correctly.