replace src in index.html to optimized file