use Chrome's localization format
change widget.preferences into localStorage
remove inline scripts (unsupported in manifest 2)
use localStorage instead of default if available