Update index.html

Added garbage collection to event listener in load block.