Bug 993948 - [Settings] refactor to identify root panel scope inside of ...

...settings.js