Removing the config related javascript on old view.