Add namespace to UserPreferenceSettings javascript code