         this.legislatorSearch(data)
 
     readTermDetailPageHistory: ->
+        # TODO: range does not properly update
+        this.minMonth = "199601"
+        this.maxMonth = "201112"
         if typeof History.getState().hash is 'undefined'
             return
         hash = History.getState().hash.split('?')[1]
-        if not hash
-            return
-        pieces = [x.split '=' for x in hash.split '&'][0]
-        for piece in pieces
-            [k, v] = piece
-            if k == 'start'
-                this.minMonth = v
-                this.start_date = this.dateFromMonth(this.minMonth)
-
-            else if k == 'end'
-                this.maxMonth = v
-                this.end_date = this.dateFromMonth(this.maxMonth)
-
-#            else if k == 'pt' and v == 'true'
-#                $('#overallTimeline').hide(->
-#                    $('#partyTimelineSelect').attr('checked', true)
-#                    $('#partyTimeline').show()
-#                )
-
+        if hash
+            pieces = [x.split '=' for x in hash.split '&'][0]
+            for piece in pieces
+                [k, v] = piece
+                if k == 'start'
+                    this.minMonth = v
+                    this.start_date = this.dateFromMonth(this.minMonth)
+
+                else if k == 'end'
+                    this.maxMonth = v
+                    this.end_date = this.dateFromMonth(this.maxMonth)
+
+               # else if k == 'pt' and v == 'true'
+               #     $('#overallTimeline').hide(->
+               #         $('#partyTimelineSelect').attr('checked', true)
+               #         $('#partyTimeline').show()
+               #     )
 
         if this.minMonth or this.maxMonth
             startYear = this.minMonth.slice(0, 4)
             endYear = this.maxMonth.slice(0, 4)
-            $("#slider-range").slider("option", "values", [startYear, endYear])
+            $("#slider-range").slider("values", [startYear, endYear])
 
             this.limit this.minMonth, this.maxMonth
 

    if window.location.pathname.match /^\/legislator\/?$/
        cw.readLegislatorHistory()

    else if window.location.pathname.match /^term\/[.+]\/?/
        cw.readTermDetailPageHistory()
        cw.populateTermDetailPage termDetailTerm



    readLegislatorHistory: ->
        hash = History.getState().hash.split('?')[1]
        data = {congress: 112}
        $("#congress").val(112)
        if hash
            pieces = hash.split '&'
            chamber = party = congress = state = undefined
