Update index.js

There is no spacing between attributes src and type in <Script>.
Similarly no space between attributes href and media in <link>, 
in functions script and stylesheet
This will produce error if we used the optional attributes. I have made the necessary change in the code.