Write support in prefs.js