modify js dependencies