adding dom page