updated to latest text.js, see #1