string.trim() to $.trim(string)