remove unused custom element code