api url in league js
refactor main menu rendering to work after setting change