This makes it easy to extract data embedded in JavaScript code using XPath in a way more robust than just using regular expressions. Use calmjs.parse instead of slimit for JavaScript parsing ...