Minor index.html mods to remove warning messages.

From : http://www.w3schools.com/tags/tag_link.asp
Note:  This element (link tag) goes only in the head section, but it can appear any number of times.

Also changed ampersands to equivalent character entity references.

Also fixed the warnings and errors in the javascript file.