fixed method mis-spelling in the index.html