     # if window.matchMedia("(min-device-width: 320px)").matches and window.matchMedia("(max-device-width: 480px)").matches
     #   location.hash = "#/verify"
 
-    Subject.group = "5417014a3ae7400bda000001"
+    Subject.group = MAIN_SUBJECT_GROUP
 
     @loggedOutClassificationCount = 0
 

  onChangeMiniCourseOption: ->
    console.log 'onChangeMiniCourseOption(): '
    return unless User.current?

    @courseEnabled = !@courseEnabled

    if @courseEnabled
      User.current?.setPreference 'course', 'yes'
      console.log '  > unchecking course-opt-out'
      $("[name='course-opt-out']").prop 'checked', false
    else
      User.current?.setPreference 'course', 'no'
      console.log '  > checking course-opt-out'
      $("[name='course-opt-out']").prop 'checked', true

    clickEvent =
      event: 'courseEnabled'
      value: @courseEnabled
      timestamp: (new Date).toUTCString()
    @recordedClickEvents.push clickEvent

  onChangeCourseOptOut: ->
    console.log 'onChangeCourseOptOut(): '
    return unless User.current?
    opt_out = $("[name='course-opt-out']").prop 'checked'
    if opt_out
      User.current?.setPreference 'course', 'no'
      console.log '  > setting course pref to NO'
      @courseEnabled = false # TODO: needs work!
    else
      User.current?.setPreference 'course', 'yes'
      console.log '  > setting course pref to YES'
      @courseEnabled = true

    clickEvent =
      event: 'courseOptedOut'
      value: opt_out
      timestamp: (new Date).toUTCString()
    @recordedClickEvents.push clickEvent

  # onChangeMiniCourseOption: ->
  #   console.log 'onChangeMiniCourseOption(): '
  #   return unless User.current?
  #   courseOption = User.current.preferences.planet_hunter.course

  #   # toggle course option
  #   if courseOption is 'yes'
  #     courseOption = 'no'
  #     # $("[name='course-opt-out']").prop 'checked', true
  #   else
  #     courseOption = 'yes'
  #     $("[name='course-opt-out']").prop 'checked', false

  #   clickEvent =
  #     event: 'miniCourseOptionChanged'
  #     value: courseOption
  #     timestamp: (new Date).toUTCString()
  #   @recordedClickEvents.push clickEvent

  #   User.current?.setPreference 'course', courseOption

  # CODE FOR PROMPT (NOT CURRENTLY BEING USED)
  # onChangeCourseInterval: ->
  #   # console.log 'VALUE: ', @el.find('#course-interval').val()
  #   defaultValue = 5
  #   value = +@el.find('#course-interval').val()

  #   # console.log 'VALUE IS NUMBER: ', (typeof value)

  #   # validate integer values
  #   unless (typeof value is 'number') and (value % 1 is 0) and value > 0 and value < 100
  #     value = defaultValue
  #     @el.find('#course-interval').val(value)
  #   else
  #     # console.log 'SETTING VALUE TO: ', value
  #     @course.setRate value

  onChangeCourseIntervalViaSupTut: ->
    # console.log 'onChangeCourseIntervalViaSupTut(): '
    defaultValue = 5
    value = +@el.find('#course-interval-sup-tut').val()



    @updateZoomButton(@canvasGraph.zoomLevel)
    @showZoomMessage(@magnification[@canvasGraph.zoomLevel])
    @recordedClickEvents.push { event: 'clicked-zoom-level'+@canvasGraph.zoomLevel, timestamp: (new Date).toUTCString() }

  updateZoomButton: (zoomLevel) ->
    if zoomLevel is 2
