for example:
<html>
<head>
hitting the hotkey with the cursor at the end of that chunk of HTML will type in the closing head tag, pressing it again will type the closing html tag. the purpose isn't really to close tags that would otherwise be unclosed, its just handy for saving me the hassle of typing out each closing tag hundreds of times. as long as its closing my tags, it might as well do it smartly.
also, since i do prefer notepad, the script automatically indents (somewhat) intelligently when you press enter. kind of like how DM keeps you at the same indentation when you press enter. except since its designed for javascript it recognizes curly braces and indents accordingly.
i don't have the script handy, at least not right now.