Fixed it so that all dom nodes get appended