Thus when the document finishes loading, we set some configuration parameters, and set some messages (like the alert/confirm messages you see when you use the page)
Well, it only puts one variable in the global scope, but that variable has a lot of functionality.
So I think the answer to your question is yes.
This weekend has been good from a work perspective; things have been working on the first try!
Usually there's some bug or two or three that I have to fix before it works.