Concluding part of the normalization script rewrite

Modifying the index.html file to be able to handle subtitles if present.