config change from js to json