 
     # Increment timer position
     @currentTime -= @incrementTime
-    if (@currentTime < 0) @currentTime = 0
+    if @currentTime < 0
+      @currentTime = 0
+
 
 # Dashboard loaded and ready
 Dashing.on 'ready', ->

    @curName = pathParts[pathParts.length - 1]
    @curPos = @dashboardNames.indexOf(@curName)

    # instantiate switcher controls for countdown and manual switching
    @switcherControls = new SwitcherControls(interval, @dashboardNames, @curName)
    @switcherControls.start() if @switcherControls.present()

    # If not found, default to first
    if @curPos == -1
      @curPos = 0
      @curName = @dashboardNames[@curPos]

    # Start loop
    @handle = setTimeout(() ->

class WidgetSwitcher
  constructor: (@elements) ->
    @$elements = $(elements)

  start: (interval=5000) ->
    self = @
