Pre-create the #stats div

Otherwise it sometimes ends up somewhere deep in the middle of a single
entry and gets hidden together with it.