Updated index as IE10>= does not use HTML ifs