Bug 1065279 - [settings] refactor Hotspot panel with AMD pattern

nit: we need function name so we are able to locate the function in the log when there are JavaScript errors. The naming convention is like:
```
init: h_init() { }
```
where "h" stands for hotspot.