Added support for jQuery prop and val functions; and for form reset
event.