Fixes #5952, BZ1079174 - Fixes issue with content view filter name and d...

...escription being impossible to edit
We prefer declaring all `var`s at the top of the function and then assigning them below.  I will add this to the (code conventions)[https://github.com/Katello/katello/tree/master/engines/bastion#conventions].