Thanks for your input and although that does work in jsFiddle, the same code does not work with my own solution (element is still undefined) and also when I tried it inside jsBin (http://jsbin.com/eraqat/1
) I get the same result: wnd is undefined. In my solution we are using jquery 1.9.1 and kendo 2012.3.1413. Unfortunately when I try to include jquery 1.9.1 in either jsBin or jsFiddle, I get the same generic error that the property 'msie' is not defined when the example tries to first load hence why I am using jquery 1.8.3 instead.
If you can take a look at the jsBin example and if you can tell why it is behaving differently than the jsFiddle that would be great. In the meanwhile I will try to create a VS project to reproduce the issue with the exact same library versions that I am using and send you guys a support ticket (or post it here; whichever works better for you).