Extracts js and css code out of index.html