support when package.json has no files
js misc