modify javascript config