jQuery plugin.
Refactoring. Var's caching and DOM manipulation improvements.