moved config to js root