manual creation and insertion of custom element now works