putting location.search into a utility function so it can be mocked in Jasmine
labels for everyone; no-wrap counts
More TODO