For context I\'ve made a script to assign a localstorage item based on what the user selects, this item may contain "S10" but could also contain many other values,