Separating js css from index.html