Update JavaScript snippets to match more styles.
Update with more settings from OS X.