Fix last sections of main.js

See https://github.com/marienfressinaud/FreshRSS/issues/634