Jquery Append And Remove In Python