new script to merge global preferences js with prefs.js in Feistermops