 ClassificationSummary = require './classification-summary'
 LocationInformation = require './location-information'
 
-$ = window.$
-$window = $(window)
+$ = window.jQuery
 $body = $('body')
 
 IMAGE_WIDTH = 720


    @surface.disable()

    loadImage subject.location.standard, (@currentSubjectImage) =>
      @loader.fadeOut { queue: false }
      @surface.image.attr { src: @currentSubjectImage.src }

      @subjectButton.removeClass 'disabled'


    @el.on StackOfPages::activateEvent, @activate

  activate: =>
    # have to wait until home page animation is done
    setTimeout =>
      @tutorial.attach()
    , 500

  onUserChange: (e, user) =>
    if user?.project?.tutorial_done
      Subject.next()
    else
      selectTutorialSubject()
