Fixed minor typo in userSettings JS
Checking for array on user settings and returning the first element