re-added script types to all the script tags

type is a required attribute of script
http://www.w3.org/TR/REC-html40/interact/scripts.html#h-18.2.1