[BUGFIX beta] Use already declared `trim` instead of `jQuery.trim`