jquery calendar works on add and delete