*8879* Fix linting/minify problems

See also https://github.com/pkp/pkp-lib/commit/cedf43464bca85d7fb3bc1fd83ceed0f6242385c
Added escaping to the second iteration. I don't think it's strictly necessary but certainly won't do any harm.