fixed javascript for keeping the providers and channels selctions

fix AUTO-762