finished implementation of jquery token input