prefs()
Obtain current preferences script object stored in XPreferences.
script : current preferences script object