Update resource-timing-api-demo.html

Better variable name in the for loop