Add missing import in prefs.js