Add index.html to ignore list
Fix issue with  not being declared