take static resource out of index.html