Javascript on many (all?) modern browsers seems to create variables on the window object for DOM elements with IDs.
Example: http://jsfiddle.net/LXmG4/
<div id="a_js_var_will_be_created_automatically_for_this">See the console</div>
<script>console.log(a_js_var_will_be_created_automatically_for_this);</script>
I read a few posts from 2011 that state that this feature/bug/quirk is expected to be removed, yet I see this work in modern Chrome, Firefox, Safari, IE.
What's the present time data on this?