Accessing the internal data isn't a good idea, even in Javascript where no real encapsulation is available. Use a getLanguage() method instead to retrieve the required value