Fixing calendar issues in IE7, IE8, IE9

We need to check these changes a bit further as I uncommented some lines and commented others and it worked... kind of weird.