Javascript version of league history