Removing dependency to twig.js