change the javascript config structure