*8824* Fixes to some of the JS lint problems