javascript and config update