JQuery: package stuff into a plugin