*8824* Fixes to some of the JS lint problems
Merge branch '8824-partial-fix' of git://github.com/asmecher/pkp-lib into 8824-partial-fix-temp