Fixed break in jQuery chaining