account for dopey conventions used in backbone and underscore i.e. -min.js and index.js