Fixing views/settings/main.js