You can set the Javascript object via Java by calling proxy.setProperty. I.e: proxy.setProperty('sections', mySection).