Improved JSON response in BatchUpload.
Fixed BatchUpload progress tracking (broken by commit 982dd81: script placement in header.jsp).