added bew code for index.html search in console prinout with aler message if it exists