Note that I amended the JS slightly so that you're not double-wrapping your jQuery objects, and I also amended the HTML slightly so that it was obvious which was the add/remove buttons even without using glyphicons.