 
   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()

  # -------------------------------------
  #   Erase Progress
  # -------------------------------------

  _eraseProgress = (container) ->
    container.find(_settings.element).each ->
      key = $(@).data(_settings.dataAttribute)

      localStorage.removeItem(key)

  # -------------------------------------
  #   Restore Progress
  # -------------------------------------

  _restoreProgress = ->
    _settings.element.each ->
      element = $(@)
      key = element.data(_settings.dataAttribute)
      value = localStorage.getItem(key)

      element.val(value)

