Redisplay calendar when event changes repetition type
Cleanup JS