Bug 1039219 - Migrate all snippets for preferences in Makefile to preferences.js