keep only necessary things in index.html