       slide: (e, ui) =>
         start = ui.values[0]
         end = ui.values[1]
-        @changeTimes({start: start, end: end})
+        @changeTimes {start: start, end: end}
       stop: (e, ui) =>
-        @eventhub.trigger('change:shell', @model, @)
-    )
+        @eventhub.trigger 'change:shell', @model, @
 
     @changeTimes
       start: @model.timeStart()
       end: @model.timeEnd()
 
   setupLoopsButton: =>
-    loops = @model.get('loops')
+    loops = @model.get 'loops'
 
     if loops == undefined
       loops = 'one'
-      @model.set('loops', loops)
+      @model.set 'loops', loops
 
     switch loops
-      when 'one' then @showLoops('one')
-      when 'infinity' then @showLoops('infinity')
+      when 'one' then @showLoops 'one'
+      when 'infinity' then @showLoops 'infinity'
       else
         # set nLoops value internally and in DOM before showing loop widget
-        @nLoops(loops)
-        @$('input.n-loops').val(@nLoops())
-        @showLoops('n')
+        @nLoops loops
+        @$('input.n-loops').val @nLoops()
+        @showLoops 'n'
 
   timeInputChanged: (changed) =>
     start = @$('.start').val()
     end = @$('.end').val()
 
     data =
-      start: acorn.util.Time.timestringToSeconds(start)
-      end: acorn.util.Time.timestringToSeconds(end)
+      start: acorn.util.Time.timestringToSeconds start
+      end: acorn.util.Time.timestringToSeconds end
 
     # reset invalid input values instead of converting them to 0
-    data.start = @model.timeStart() if _.isNaN(parseFloat(start))
-    data.end = @model.timeEnd() if _.isNaN(parseFloat(end))
-
-    @changeTimes(data, {lock: changed, updateSlider: true})
-
-    @eventhub.trigger('change:shell', @model, @)
+    data.start = @model.timeStart() if _.isNaN parseFloat start
+    data.end = @model.timeEnd() if _.isNaN parseFloat end
+
+    @changeTimes data, {lock: changed, updateSlider: true}
+
+    @eventhub.trigger 'change:shell', @model, @
 
   # Args, contained in a single object:
   # @number start - current start time in seconds

    end = @model.timeEnd() ? @model.timeTotal()

    # if current playback is behind the start time, seek to start
    @seek(start) if now < start

    # if current playback is after the end time, pause or loop. when looping,
    # set `restarting` flag to avoid decrementing the loop count multiple


class VideoLinkShell.MediaView extends LinkShell.MediaView

  className: @classNameExtend 'video-link-shell'

  initialize: =>
    super
