add jquery events
merge