Update loadPref.js

just a log