A data-driven template system for MooTools