detect dependencies from JS and CSS file names