Few quick points:-
* Avoid the global scope. In the Global scope the Object never null, so never garbage collected. It’s time taking and trivial process to get the reference of global scope. If need to use global scope assign yourself null after the use.
* Get Use of Self-Calling Functions. Have any one noticied jQuery using self calling functions
* Don’t D.R.Y. Make the reusability. Make use of Namespace