add index.js, check for script tags with src only