Found the way not to use DOM