loopj/jquery-tokeninput — pull request #198 by rubemz (2011-10-11 17:14:56+00:00)
Title: The removed element from UI hasn't been removed from the hidden token input 

The removed element from UI hasn't been removed from the hidden token input so that we have inconsistent data. The issue was occuring because there was a mistake around where to slice the array. The right position to slice the array is at index-1 since it starts on 0