Remove redundant script tag type attributes, defer loading of JS.