properly handle attr and style

As part of 6d509c4, the native code that handles attr and style should
have been changed to handle non-Maybe values.