Move date range dropdown out of tabs partial
Move the .date-range class to the dropdown
Fix some JS concerns:

* Don't compare to undefined
* Split out row selection
* Remove redundant window.location.pathname