Update index.html

Added in counter global