Modified index.html to open PDF in the same window