adjusted changes to config and js