How can I structure my JavaScript code to separate properties of myObject and its subObject

join shbcf.ru