Added type attribute to script tags