Change to jQuery Plugin