fix javasricpt tests for contenteditable that were copied but not fully edited

CLA was signed