add JS logic for selecting video clip type + missing messages