Use $.trim in StyleHandler when String.trim isn't available.

(Safari 4)