UI and backend are separate so a UI can be created which doesn't use JS.
There are only two devs working on the project and the backend takes most of their time. Using JS in the UI expedites the process of implementing features which may be why they went for it.