Attempt to adapt to RT jwplayer changes
Minor cleanup to match jslint recommendations