Recreate all divs in the pure js version to make the comparison to react
clearer.