Update prefs.js

Added reset button