realizing that DOM for all states should be present at page load