       _this.actionFromKeyEvent()
       return returnStatement
 
-    $(document).unbind 'keyup'
+    $(document).off 'keyup'
     $(document).keyup (e) ->
       keyMapIndex = _this.keyMap.indexOf(e.keyCode)
       _this.keyMap.splice(keyMapIndex)

    mostOuterToken.$token.removeClass('selected')
    this.selectedTokenIndex = siblingIndex if this.selectedTokenIndex == mostOuterTokenListIndex

  removeCurrentChunk: ->
    mostOuterTokenListIndex = this.getMostOuterTokenIndexFromChunk(this.selectedTokenIndex, 'left')
    this.removeChunkWithStartIndex(mostOuterTokenListIndex)

  removeChunkWithStartIndex: (mostOuterTokenListIndex) ->

          }

  initKeyboardEventHandler: ->
    $(document).off 'keydown'
    $(document).keydown (e) ->
      returnStatement = true
      returnStatement = false if _this.knownKeys.indexOf(e.keyCode) >= 0
