Soccer game in Javascript