update js conf file