user prefs need to be exposed in JS