Added UiService to wrap DOM manipulation