attempt no.2 at readin from index.html