Add meta flag dom for JavaScript tests.