moved config to js folder