Move grid rendering to sandbox.html