Adding functions to template
optimising js
Merge pull request #34 from guardian/football-js

Football js