Update toggle() function

Add the toggle() function into JQueryCore