Add the missing property "closing" to script tag payload.

Add "closing" property to payloads of script tags since we've already collected each script block in one step. This fixed issue #3327.