Minor improvement to jquery example

Since we now have the "children()" method it's no longer a good practice
to keep the last added widget as a reference.

Change-Id: Ie8b1e78af237c74895decba2c12fe8498df59808