Omit type attributes in script and stylesheet templates

Works in all browsers and is less code.