determining if a list is to be selected
adding trailing semicolon for config, be proper JS