get test config from .js files rather than .html, which dont exist initially