[Allow_custom_nameSpaces] fix move of preference into the class and the usage
[Allow_custom_nameSpaces] fix move of preference into the class and the usage

scherler/js-preferences,scherler/js-preferences