protected void processScriptBlocks(List<String> scriptBlocks) {
		
		if(generateStatistics) {
			for(String block : scriptBlocks) {
				statistics.getOriginalMetrics().setInlineScriptSize(statistics.getOriginalMetrics().getInlineScriptSize() + block.length());
			}
		}
		
		if(compressJavaScript) {
			for(int i = 0; i < scriptBlocks.size(); i++) {
				scriptBlocks.set(i, compressJavaScript(scriptBlocks.get(i)));
			}
		} else if(generateStatistics) {
			for(String block : scriptBlocks) {
				statistics.setPreservedSize(statistics.getPreservedSize() + block.length());
			}
		}
		
		if(generateStatistics) {
			for(String block : scriptBlocks) {
				statistics.getCompressedMetrics().setInlineScriptSize(statistics.getCompressedMetrics().getInlineScriptSize() + block.length());
			}
		}
	}