fixed index.html to keep external scripts