bug fix: script tag is now formatted with expected attributes