Makes stats a fully client-side web app