Two-way DOM-based databinding for modern browsers