Update jaffaWidgets.js

Fixed check for whether a jQuery select found something. jQuery selects never return null, they return empty lists.  So testing against null doesn't work, you have to check for non-zero length.
Merge pull request #4 from DanielBaird/patch-1

Update jaffaWidgets.js