nit: Move this variable under QuickSettings with uppercase.
var QuickSettings = {
  WIFI_STATUSCHANGE_TIMEOUT: 2000,
  ..
}