works in node.js. known issues: embedded tales