Bug 1062087 - Fix undefined variable error messages in Settings API; r=bent