A (very) small and flexible jquery plugin