The files in the details folder(which should be renamed to phenotype) are not needed anywhere outside of phenotype.js. Remove details.js and just import the files you need directly in phenotype.js