Bug 973443 - [settings] refactor Display panel with AMD pattern

https://bugzilla.mozilla.org/show_bug.cgi?id=973443
Please remove this function as it is not used.