toes.js : add try/catch into matches.
toes.js : add trim function.