Fix jQuery chaining.