 if window.location.pathname.match(/\/apply$/)
   $ ->
 
-    changeSection = (e, noscroll)->
+    changeSection = ->
       hash = window.location.hash
       sectionId = hash.substring 1
       $('.section').each ()->

          parent.toggleClass 'active', true
        else
          parent.toggleClass 'active', false
      window.scrollTo 0, 0 unless noscroll

    $(window).on 'hashchange', changeSection

    showDownloadWarning = ->
      $('#download-warning').modal()

      if window.location.hash.length <= 1
        window.location.hash = firstSectionHash
      else
        changeSection()

    $(document).ajaxComplete initialize
    initialize()
