 
   init = (options) ->
     _settings = $.extend(
-      elements: $('.js-saveProgress')
+      element: $('.js-saveProgress')
+      container: $('.js-saveProgress-container')
       dataAttribute: 'saveprogress'
     , options)
 

#
# *************************************
#
# options.elements - the element containing text to save
# options.dataAttribute - the data attribute of the Local Storage key
#
# *************************************

  # -------------------------------------

  _setEventHandlers = ->
    _settings.element.on 'input', ->
      element = $(@)
      key = element.data(_settings.dataAttribute)
      value = element.val()

      _storeProgress( key, value )

    _settings.container.on 'submit', (event) ->
      _eraseProgress($(@))

  # -------------------------------------
  #   Store Progress
