Small refactoring main JS