Fix inconsistent spelling of JavaScript within the index.html page