jQuery chaining fixed.
Merge pull request #14 from bfontaine/chaining-fix

jQuery chaining fixed
Updating to upstream master