Avoid race condition in the creation of #stats

Sometimes JavaScript would create it before the HTML parser got to
parsing the <div id="stats">, resulting in a tiny textless white square
in the corner of the dark touch control bar on Android.