Use strict mode
Fix prefs in strict mode