Still learning js and still need to use nested keys