         selectedValue = e.attrs.value
         removeExistingValue(selectedValue, $this)
       .on 'tokenfield:createtoken', (e) ->
-      if e.attrs.value is e.attrs.label
-        false
+        if e.attrs.value is e.attrs.label
+          false
 
       tokens = retrieveExistingTokens(data, $this)
       $this.tokenfield('setTokens', tokens);

  enterNewValue = (selectedValue, target) ->
    inputField = getInputField(target)
    currentValues = getCurrentValues(target)
    currentValues.push(selectedValue)
    inputField.val(JSON.stringify(currentValues))



  getCurrentValues = (target) ->
    inputField = getInputField(target)
    currentValues = if !!inputField.val() then JSON.parse(inputField.val()) else []

  getInputField = (target) ->
    getWrapperField(target).next()
