create jquery transit plugin