Fix the weirdnesses with 2D dataset creation in browser