Added a getLabel() method to element JS class, and now pass basic label
text in as part of element creation options.  Had a need in some custom
JS to fetch the label, and turned out to be almost impossible to do with
standard JS DOM stuff, dues to variations in how we render the label
between element types and templates.