reconfigure js