shell: jshint sometimes complains about this one
shell: jshint sometimes complains about this one

This is because we're using this in a case where it's not clear
that the functions are part of an object.

Closes #1612
Reviewed-by: Marius Vollmer <bb11c6e942c5cc765df5f04da146b3198127a7a3@redhat.com>

firebitsbr/cockpit,Thermionix/cockpit,sgallagher/cockpit,mareklibra/cockpit,evol262/cockpit,dperpeet/cockpit,arilivigni/cockpit,haiyangd/cockpit_view,zigitax/cockpit,maxamillion/cockpit,vanloswang/cockpit,Scribery/cockpit,FireDrunk/cockpit,vanloswang/cockpit,larsu/cockpit,sub-mod/cockpit,haiyangd/cockpit_view,nmav/cockpit,michalskrivanek/cockpit,matobet/cockpit,netzvieh/cockpit,mvollmer/cockpit,moolitayer/cockpit,petervo/cockpit,Armstrong1992/cockpit,petervo/cockpit,mareklibra/cockpit,sgallagher/cockpit,mareklibra/cockpit,maxamillion/cockpit,firebitsbr/cockpit,vbatts/cockpit,deryni/cockpit,larskarlitski/cockpit,petervo/cockpit,maxamillion/cockpit,netzvieh/cockpit,michalskrivanek/cockpit,matobet/cockpit,moolitayer/cockpit,Armstrong1992/cockpit,petervo/cockpit,kkaempf/cockpit,mareklibra/cockpit,garrett/cockpit,zigitax/cockpit,harishanand95/cockpit,denysvitali/cockpit,firebitsbr/cockpit,moolitayer/cockpit,jscotka/cockpit,kkaempf/cockpit,evol262/cockpit,moraleslazaro/cockpit,harishanand95/cockpit,cockpituous/cockpit,larsu/cockpit,harishanand95/cockpit,xhad/cockpit,matobet/cockpit,martinpitt/cockpit,Scribery/cockpit,denysvitali/cockpit,SotolitoLabs/cockpit,moraleslazaro/cockpit,fridex/cockpit,garrett/cockpit,haiyangd/cockpit_view,deryni/cockpit,evol262/cockpit,denysvitali/cockpit,mvollmer/cockpit,netzvieh/cockpit,arilivigni/cockpit,SotolitoLabs/cockpit,jscotka/cockpit,denysvitali/cockpit,fridex/cockpit,moraleslazaro/cockpit,cockpituous/cockpit,larsu/cockpit,xhad/cockpit,stefwalter/cockpit,garrett/cockpit,martinpitt/cockpit,FireDrunk/cockpit,Scribery/cockpit,evol262/cockpit,netzvieh/cockpit,Scribery/cockpit,michalskrivanek/cockpit,mvollmer/cockpit,matobet/cockpit,larskarlitski/cockpit,Armstrong1992/cockpit,moolitayer/cockpit,cockpit-project/cockpit,sub-mod/cockpit,sgallagher/cockpit,FireDrunk/cockpit,moraleslazaro/cockpit,harishanand95/cockpit,stefwalter/cockpit,garrett/cockpit,vbatts/cockpit,Thermionix/cockpit,arilivigni/cockpit,cockpituous/cockpit,netzvieh/cockpit,kkaempf/cockpit,darioajr/cockpit,sub-mod/cockpit,vbatts/cockpit,larsu/cockpit,stefwalter/cockpit,cockpituous/cockpit,andreasn/cockpit,jscotka/cockpit,mareklibra/cockpit,arilivigni/cockpit,xhad/cockpit,Armstrong1992/cockpit,sgallagher/cockpit,dperpeet/cockpit,matobet/cockpit,deryni/cockpit,arilivigni/cockpit,larskarlitski/cockpit,Thermionix/cockpit,larsu/cockpit,moraleslazaro/cockpit,arilivigni/cockpit,vbatts/cockpit,kkaempf/cockpit,vanloswang/cockpit,michalskrivanek/cockpit,larsu/cockpit,cockpit-project/cockpit,cockpit-project/cockpit,harishanand95/cockpit,michalskrivanek/cockpit,SotolitoLabs/cockpit,nmav/cockpit,sgallagher/cockpit,Thermionix/cockpit,dperpeet/cockpit,zigitax/cockpit,Thermionix/cockpit,xhad/cockpit,SotolitoLabs/cockpit,firebitsbr/cockpit,martinpitt/cockpit,martinpitt/cockpit,harishanand95/cockpit,moolitayer/cockpit,andreasn/cockpit,fridex/cockpit,zigitax/cockpit,dperpeet/cockpit,deryni/cockpit,kkaempf/cockpit,darioajr/cockpit,petervo/cockpit,vbatts/cockpit,sgallagher/cockpit,deryni/cockpit,darioajr/cockpit,xhad/cockpit,Scribery/cockpit,cockpit-project/cockpit,andreasn/cockpit,petervo/cockpit,andreasn/cockpit,deryni/cockpit,dperpeet/cockpit,andreasn/cockpit,Scribery/cockpit,fridex/cockpit,cockpit-project/cockpit,haiyangd/cockpit_view,nmav/cockpit,cockpituous/cockpit,garrett/cockpit,sub-mod/cockpit,nmav/cockpit,larskarlitski/cockpit,michalskrivanek/cockpit,stefwalter/cockpit,SotolitoLabs/cockpit,darioajr/cockpit,fridex/cockpit,sgallagher/cockpit,michalskrivanek/cockpit,vanloswang/cockpit,jscotka/cockpit,maxamillion/cockpit,larskarlitski/cockpit,mareklibra/cockpit,darioajr/cockpit,SotolitoLabs/cockpit,SotolitoLabs/cockpit,Armstrong1992/cockpit,denysvitali/cockpit,moraleslazaro/cockpit,cockpituous/cockpit,andreasn/cockpit,arilivigni/cockpit,stefwalter/cockpit,FireDrunk/cockpit,moraleslazaro/cockpit,sub-mod/cockpit,Scribery/cockpit,evol262/cockpit,dperpeet/cockpit,stefwalter/cockpit,jscotka/cockpit,nmav/cockpit,vanloswang/cockpit,dperpeet/cockpit,deryni/cockpit,stefwalter/cockpit,andreasn/cockpit,petervo/cockpit,Thermionix/cockpit,harishanand95/cockpit,larskarlitski/cockpit,mareklibra/cockpit,firebitsbr/cockpit,vanloswang/cockpit,vbatts/cockpit,matobet/cockpit,vanloswang/cockpit,netzvieh/cockpit,zigitax/cockpit,mvollmer/cockpit,fridex/cockpit,maxamillion/cockpit,martinpitt/cockpit,haiyangd/cockpit_view,jscotka/cockpit,larskarlitski/cockpit,evol262/cockpit,xhad/cockpit,FireDrunk/cockpit,xhad/cockpit,mvollmer/cockpit