invert logic for more reliable file detection: more likely to have extension-less js than css