Not sure how I feel about these being state variables vs functions that parse and validate window.location.search.