Update index.html

After document.readyState 'interactive' follows 'complete'. If the page loads so fast that we miss the state interactive the old version will never execute the callback. So we must check for complete in addition.