index.html changed and head is defined