update specification selection js