Timestamp script tag, and add type attribute.