994946 - Unable to run katello-gui and headpin-gui automation due to
TypeError and Reference Error
Source code test: Fixing source code error

I found a lot of instances of 'rescue => e' in our code which triggered rubocop
since the e variable wasn't being used. I think it's better to just recommend
'rescue' since it's also the same thing as 'rescue StandardError'.
Merge pull request #2883 from komidore64/js-typeerror

994946 - Unable to run katello-gui and headpin-gui automation due to TypeError and Reference Error
Merge pull request #2885 from daviddavis/temp/20130904123156

Source code test: Fixing source code error