wrapping elements in session listeners in jquery
some jquery trigger options to prevent infinite loops