The "Loading settings" JS methos has been refactored.