Explaining the jQueryness of this plugin