Bug 973445 - [settings] refactor Sound panel with AMD pattern

INTERVAL and DELAY are constants. I would suggest to define them in the scope of the module definition function.