Create preferences.js