Ensure no settings are ever undefined

This fixes 'unknown setting' errors in browsers
with missing APIs.