add: } 
context: function checkEndDate(){   var startDate = document.getElementById( "start-datetime" ).value;    var endDate = document.getElementById( "end-datetime" ).value;       if( startDate.getFullYear() == endDate.getFullYear() &&       startDate.getMonth() == endDate.getMonth() &&       startDate.getDay() == endDate.getDay() )      return( 0 );   else if ( endDate < startDate)      return -1;   else if (endDate > startDate)      return 1;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/2fb940028be62885f99e91bef65b07ac24e2df1e/eventDialog.js/buggy/calendar/resources/content/eventDialog.js