 # Format a number of seconds into appropriate time units. e.g. smartTime(3600) === '1h'
 smartTime = _smartUnits(
     [31556952, 604800, 86400, 3600, 60, 1, 1e-3, 1e-6, 1e-9, 1e-12]
-    ['y', 'w', 'd', 'h', 'm', 's', 'ms', 'μs', 'ns', 'ps', '']
-    [2, 2, 2, 2, 2, 2, 3])
+    ['y', 'w', 'd', 'h', 'm', 's', 'ms', 'μs', 'ns', 'ps', 's']
+    [2, 2, 2, 2, 2, 3])
 
 # Format a fraction number into a percentage. e.g. smartPercent(0.1) === '10.0%'
 smartPercent = (v) -> ((v * 100).toPrecision(3) + "%")

            label: label
            left: 0
            right: 0
            top: active_count
            marked: not options.filter
        if options.filter and label.toLowerCase().indexOf(options.filter) >= 0
            for f in active_stack
                f.marked = true
        active_count++

    # draw frames within view
    for i in [start...end] by 1
        label = getLabel thread, thread.trace.data[i][0]
        pos = (thread.trace.data[i][1] - min) / duration
        if label.length
            # push an unfinished frame onto stack


        if dragging and not dragging.stopped
            dragging_width = Math.abs e.pageX - dragging.x
            elems.timestamp.text "<#{smartTime dragging_width / elems.plot.width() *
                                     (range.max - range.min) / 1e3}>"
            elems.marker.removeClass("zoomin").width Math.max(1, dragging_width)
            elems.marker.offset
                left: Math.min e.pageX, dragging.x
