VID-1976 updating mustache templates in JS