web-hw4.js calls index.html again