Bug fix to jQuery event calendar plugin