I've seen variables created like this a few times and the same with the document object as well. it's often within a life like this
(function () { var _window = window; })();
I'm curious to know what they achieve by doing so instead of just using the window object.