Move prefs.js into the test/functional/