add missing domain-server javascript file
look for a config.json file by default in resources