add empty script tag
add second script type
restore all changes
add script type