adding parent method for dom
converting p5dom to static, removing _elements array