step toward making the object accessible in javascript post render; need to make functions public