Improved support for jQuery chainability