this.setLabel(""+ name +""); working on FF but not on Chrome or Safari: http://stackoverflow.com/questions/5874652/prop-vs-attr https://developer.mozilla.org/en/DOM/element#Properties