Nice. Didn't know that jQuery had a trim function.