Update index.html

document.width is deprecated