compatibility with dust.js