Update and rename prefs.js to components/prefs.js