I just can't seem to like this java crap, is too sensitive and very picky.
I can live without all those belt and whistles.
Then try this:
$('.GridView tr:odd:not(.GridViewPagerStyle)').addClass('GridVi ewAlternatingRowStyle');
In other words, it's just visual bells and whistles, so you can safely delete the code.
The code itself looks good, so my guess is that the jQuery library is not included in the Master Page for the Management section.
Hope this helps,