This snippet just makes IE7/IE8 crashes the page throwing error. I don't know why cause on chrome / FF, everything is fine.
The problem seems to be here :
return event.Date.valueOf() === date.valueOf();
The error is :
Message: 'Date' has value Null or is not an object
What's causing this ? Thanks
EDIT I updated my code here http://jsfiddle.net/Zrz9t/15/