Javascript class for organizing objects hierarchy