Move default prefs into .js pref file