change javascript config