A JavaScript scanner for Curly templating framework