Updated js to use stats info for weeks