Update defaultPreferences.js

Make it works on Mac.