support js i18n
support batch add DOM
support using DOM as dialog content
implement Utils.showLogin