Removed jQuery.trim optimization.
Fixes #424.