userstats js reorder & simplifying