Failed to execute 'appendChild' on 'Node': This node type does not support this method.