Move helpers to separate file
Define local functions
Extract method
Log any errors
Extract the github API call from the update.

This should make it easier to update different
things.
We don’t need a link to compare on a display we can’t control.
Deal in paths rather than urls

So we don’t have to repeat the domain if we
introduce more api calls
better name for compare API path
Don’t pass in global repo
Futurelearn is default owner
Just set the path as a var as it doesn’t change
get the build state
Rebuild app to better suite futurelearns needs.

Show display build info, status of staging and production,
and number of pull requests
Always run up to date code on the page,

Force the page to reload every 10 refreshes.
Update readme