Change MozNDEFRecord from C++ to JS implemented.