- moved js related to settings into settings.js