Start JS refactoring for #35
Correct access to Git from service page.