added java script in index
changed extension to lower case