Update to use twig.js dependency using AMD compiler