Pivot plugin for jquery